import templateComponents from 'extension-template/index';
import extendMenuRoutes from 'extension-template/src/views/workflow-center/extend-menu/extend-menu-routes';

export default {
  formDetail: {
    path: '/form/detail',
    name: 'form-detail',
    component: () => import('@/views/form/form-detail.vue'),
  },
  application: {
    // //全局覆盖应用下表单列表数据显示页面
    // applicationList: {
    //   path: 'application-list/:schemaCode',
    //   name: 'applicationList',
    //   component: templateComponents.ApplicationList,
    // },
    // //覆盖指定表单列表数据显示页面
    // specificModelList: {
    //   path: 'specificModelList/:schemaCode',
    //   name: 'specificModelList',
    //   component: templateComponents.SpecificModelList,
    // },
    // 自定义路由测试1
    testSpecificModelList1: {
      path: 'test-specific-model-list1/:schemaCode',
      name: 'testSpecificModelList1',
      component: templateComponents.ApplicationList,
    },
    // 自定义路由测试2
    testSpecificModelList2: {
      path: 'test-specific-model-list2/:schemaCode',
      name: 'testSpecificModelList2',
      component: templateComponents.SpecificModelList,
    },
    // 安普生扫描仪
    applicationApsSmy: {
      path: 'application-aps-smy', 
      name: 'applicationApsSmy',
      component: () => import('@/../extends/src-ly/views/aps-smy.vue'),
    },
    // 档案可视化
    applicationDaksh: {
      path: 'application-daksh', 
      name: 'applicationDaksh',
      component: () => import('@/../extends/src-ly/views/daksh.vue'),
    },
    // 工程技术部生成日报
    applicationGcjsbScrb: {
      path: 'application-gcjsb-scrb', 
      name: 'applicationGcjsbScrb',
      component: () => import('@/../extends/src-ly/views/gcjsb-scrb.vue'),
    },
  },
  //流程中心扩展菜单路由示例
  workflowCenter: {
    ...extendMenuRoutes,
  },
} as any;
